package com.jumi.microservice.domain;

import io.swagger.annotations.ApiModelProperty;

import java.io.Serializable;
import java.util.List;

/**
 * - - - - - - - - - - - - - - -
 * 活动模块中商品列表查询条件类
 * @author liuz
 * @date 2020/12/1 9:11
 * ToDoSomeThing
 * - - - - - - - - - - - - - - -
 */
public class QueryActivityGoodsDTO implements Serializable {

    private static final long serialVersionUID = -3103247123727741008L;

    @ApiModelProperty(value = "商品搜索关键词")
    private String keyWord;

    @ApiModelProperty(value = "品牌id")
    private Long brandId;

    @ApiModelProperty(value = "商品供应商ID")
    private Long supplyId;

    @ApiModelProperty(value = "商品分类ID")
    private Long categoryId;

    @ApiModelProperty(value = "活动类型 用于筛选spuids (0:付邮领, 1:今日推荐, 2:聚米优选 3:聚米优品, 4:限购活动)")
    private Integer activityType;

    /**
     * 商品spuid(活动中已有的spu)
     */
    private List<Long> spuIds;

    @ApiModelProperty("当前记录起始索引")
    private Integer pageNum = 1;

    @ApiModelProperty("每页显示记录数")
    private Integer pageSize = 10;

    public String getKeyWord() {
        return keyWord;
    }

    public void setKeyWord(String keyWord) {
        this.keyWord = keyWord;
    }

    public Long getSupplyId() {
        return supplyId;
    }

    public void setSupplyId(Long supplyId) {
        this.supplyId = supplyId;
    }

    public Long getCategoryId() {
        return categoryId;
    }

    public void setCategoryId(Long categoryId) {
        this.categoryId = categoryId;
    }

    public List<Long> getSpuIds() {
        return spuIds;
    }

    public void setSpuIds(List<Long> spuIds) {
        this.spuIds = spuIds;
    }

    public Integer getPageNum() {
        return pageNum;
    }

    public void setPageNum(Integer pageNum) {
        this.pageNum = pageNum;
    }

    public Integer getPageSize() {
        return pageSize;
    }

    public void setPageSize(Integer pageSize) {
        this.pageSize = pageSize;
    }

    public Integer getActivityType() {
        return activityType;
    }

    public void setActivityType(Integer activityType) {
        this.activityType = activityType;
    }

    public Long getBrandId() {
        return brandId;
    }

    public void setBrandId(Long brandId) {
        this.brandId = brandId;
    }
}
